<div class="wpa head">
  <div class="wp">
    <dl class="a"><img src="{$GLOBALS['TURL']}images/logo.jpg" /></dl><dl class="b"></dl>
    <dl class="c">
      <p class="i">
      {if(empty($_SESSION['member']))}
      <a href="{$GLOBALS['WWW']}index.php?c=member&a=reg">注册会员</a><a href="{$GLOBALS['WWW']}index.php?c=member&a=login">会员登录</a>
      {else}
      欢迎您：<strong>{$_SESSION['member']['user']}</strong><br />
      <a href="{$GLOBALS['WWW']}index.php?c=member">会员中心</a><a href="{$GLOBALS['WWW']}index.php?c=member&a=out">退出登录</a>
      {/if}
      </p>
      <form action="{$GLOBALS['WWW']}index.php" method="get">
      <input name="a" type="hidden" value="search" />
      <p class="s"><span class="ll"><select name="c">
        <option value="article">文章</option>
        <option value="product">产品</option>
      </select></span><span class="l"><input type="text" name="word" /></span><span class="r"><input type="submit" value=""/></span></p>
      </form>
    </dl>
  </div>
  <div class="wp menu f1">
  <a href="{$GLOBALS['WWW']}index.php" class="c">首 页</a>
{loop table="classtype" mshow="1" limit="7"}
  <a href="{$v['url']}">{$v['classname']}</a>
{/loop}
  </div>
</div>